<template>
	<view class="p20">
		<u-empty v-if="!list.length" />
		<view class="mb20" v-for="(item,index) in list" :key="index" @click="jump(item)">
			<master :item="item" />
		</view>
	</view>
</template>

<script>
	export default {
		name: "masterList",
		props: {
			list: {
				default: ''
			},
			tch: {
				default: false
			},
		},
		data() {
			return {

			};
		},
		methods: {
			jump(item) {
				let api = '/pages/index/master'
				let params = {
					master_id: item.master_id || item.id
				}
				this.$jump(api, params)
			}
		}
	}
</script>

<style lang="scss">

</style>